<template>
  <div>
    <div class="header-warpper" @click="$router.back(-1)">
      <img src="../../assets/l_jt.png" alt />
      <span>提币详情</span>
    </div>
    <p class="top">-
      {{obj.allnumber}}
      <span>usdt</span>
    </p>
    <ul>
      <li>
        <p class="left">操作类型</p>
        <p class="value">提币</p>
      </li>
      <li>
        <p class="left">状态</p>
         <p v-if="obj.status==1">待审核</p>
        <p v-if="obj.status==2">提币成功</p>
        <p v-if="obj.status==3">提币失败</p>
      </li>
      <li>
        <p class="left">订单号</p>
        <p class="value">{{obj.ordersn}}</p>
      </li>
      <li>
        <p class="left">到账数量</p>
        <p class="value">{{obj.number}}</p>
      </li>
      <li>
        <p class="left">手续费</p>
        <p class="value">{{obj.fee}}</p>
      </li>
      <li>
        <p class="left">提币时间</p>
        <p class="value">{{obj.createtime}}</p>
      </li>
       <li>
        <p class="left">提币地址</p>
        <p class="value">{{obj.address}}</p>
      </li>

    </ul>
  </div>
</template>
<script>
export default {
  created() {
    this.$axios
      .post("/index/asset/tbdetail", {
        id: this.$route.query.id
      })
      .then(res => {
        console.log(res.data);
        this.obj = res.data.info;
      });
  },
  data() {
    return {
      obj: {}
    };
  }
};
</script>

<style lang="less" scoped>
.top {
  font-size: 0.7rem;
  color: #f37349;
  text-align: center;
  padding: 0.6rem 0 0.2rem;
  span {
    font-size: 0.6rem;
  }
}
ul {
  padding: 0 .4rem;
}
li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #d5d5d5;
  padding-bottom: 0.4rem;
      padding-bottom: 0.4rem;
    font-size: 0.5rem;
    padding-top: .5rem;
  .left {
    color: #838394;
  }
  .value {
    max-width: 75%;
    color: black;
    word-break: break-word;
    text-align: right;
  }
}
</style>
